package com.dexilaonian.activity;


import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;
import android.widget.RelativeLayout;
import android.widget.TextView;

import com.dexilaonian.MainActivity;
import com.dexilaonian.R;
import com.dexilaonian.ui.BaseActivity;

import butterknife.Bind;
import butterknife.ButterKnife;
import butterknife.OnClick;


public class AboutUsActivity extends BaseActivity {

    @Bind(R.id.back)
    ImageView back;
    @Bind(R.id.base_topText)
    TextView baseTopText;
    @Bind(R.id.agreement)
    RelativeLayout agreement;
    @Bind(R.id.rl_apk)
    RelativeLayout rlApk;

    @Override
    public int getLayoutID() {
        return R.layout.activity_about_us;
    }

    @Override
    public void initView() {

    }

    @Override
    protected void initData() {

    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        ButterKnife.bind(this);
        baseTopText.setText("关于我们");
    }

    @OnClick({R.id.base_topText,R.id.back, R.id.agreement,R.id.rl_apk})
    public void onViewClicked(View view) {
        switch (view.getId()) {
            case R.id.back:
            case R.id.base_topText:
                finish();
                break;

            case R.id.agreement:
                startActivity(new Intent(AboutUsActivity.this,RegisterProtocolActivity.class));
                break;
            case R.id.rl_apk:
                break;
        }
    }
}
